package com.yixin.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.Patient;
import com.yixin.hospital.entity.dto.req.patient.PatientAddReqDTO;
import com.yixin.hospital.entity.dto.req.patient.PatientEditReqDTO;
import com.yixin.hospital.entity.dto.req.patient.PatientVipSettingReqDTO;
import com.yixin.hospital.entity.vo.PatientSettingVO;

import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【patient(患者基本信息表)】的数据库操作Service
* @createDate 2024-09-10 15:44:53
*/
public interface PatientService extends IService<Patient> {

    PatientSettingVO settingVip(Integer selectedLevel);

    void updateVip(PatientVipSettingReqDTO patientVipSettingReqDTO);

    ApiResult<?> allList(int currentPage, int pageSize, String name, Long userId);

    ApiResult<?> allDropList();

    ApiResult<?> add(@Valid PatientAddReqDTO patientAddReqDTO, String userName);

    ApiResult edit(@Valid PatientEditReqDTO patientEditReqDTO, String userName);
}
